package com.arpa.ntocc.common.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 用户角色DTO
 * </p>
 *
 * @author LEO
 * @since 2019-12-05
 */
@Data
@ApiModel(value="RoleDTO对象", description="用户角色")
public class RoleDTO extends BasicEntity {


    @ApiModelProperty(value = "角色标识")
    private String code;

    @ApiModelProperty(value = "角色")
    private String role;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色类型 0非内置,1内置角色")
    private Integer type;

    @ApiModelProperty(value = "是否可以反审核：0否1是")
    private Integer isCanalAudit;

    @ApiModelProperty(value = "说明")
    private String description;

    @ApiModelProperty(value = "机构code")
    private String branchCode;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "所属机构")
    private String partyGroupName;

    @ApiModelProperty(value = "角色的资源code列表")
    private List<String> resourceCodeList;
}
